Skip to content

feat(build): add --cpu=pi5 flag for Raspberry Pi 5 - #81

Merged
ardera merged 1 commit into
ardera:mainfrom
sbs44:feature/pi5-support
Jul 21, 2026
Merged

feat(build): add --cpu=pi5 flag for Raspberry Pi 5#81
ardera merged 1 commit into
ardera:mainfrom
sbs44:feature/pi5-support

Conversation

@sbs44

@sbs44 sbs44 commented Jan 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Add support for Raspberry Pi 5 CPU-tuned engine builds.

  • Add pi5_64 target platform for Cortex-A76 optimization
  • Support arm64 architecture with -mcpu=cortex-a76+nocrypto -mtune=cortex-a76
  • Update device platform switch for exhaustiveness

Usage

flutterpi_tool build --release --arch=arm64 --cpu=pi5

Test plan

  • Built and deployed to Raspberry Pi 5 hardware
  • Verified app runs correctly with Pi5-optimized engine

Notes

  • Pi5 is 64-bit only (no 32-bit variant needed)
  • Uses +nocrypto for consistency with Pi3/Pi4 builds
  • Depends on ardera/flutter-ci for engine builds

@sbs44

sbs44 commented Jan 12, 2026

Copy link
Copy Markdown
Contributor Author

Dependency: This PR requires ardera/flutter-ci#30 to be merged first so that Pi5-optimized engine binaries are available in releases.

- Add pi5_64 target platform for Cortex-A76 optimization
- Support arm64 architecture with -mcpu=cortex-a76+nocrypto
- Update device platform switch for exhaustiveness
@sbs44
sbs44 force-pushed the feature/pi5-support branch from 0f72dcd to 7f3f0bd Compare January 12, 2026 15:29
@ardera
ardera merged commit 6e15e5c into ardera:main Jul 21, 2026
@sbs44
sbs44 deleted the feature/pi5-support branch July 21, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants